package com.cskaoyan.service;

import com.cskaoyan.bean.*;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface MallService {

    List<Region> queryRegions();

    BrandBean queryBrands(Integer id, String name, Integer page, Integer limit, String sort, String order);
    void brandDelete(BrandBO brand);

    List<CategoryListVO> categoryList();

    List<CategoryVO> categoryListL1();

    CategoryCreateVO create(CategoryChildren categoryCreate);

    void delete(CategoryChildren categoryCreate);

    void update(CategoryId categoryCreate);

    BrandCreateVO brandCreate(String desc, String floorPrice, String name, String picUrl);

    Brand brandUpdate(Brand brand);


    IssueBean queryIssues(String question,Integer page,Integer limit,String sort,String order);

    void create(Issue issue);

    void delete(Issue issue);

    void update(Issue issue);

    ListBean queryKeyword(Integer page, Integer limit, String keyword, String url, String sort, String order);

    Keyword updateAndQueryKeyword(Keyword keyword);

    Keyword createKeyword(Keyword keyword);

    void deleteKeyword(Integer id);

    ListBean orderList(Integer page, Integer limit,Short[] orderStatusArray,String sort, String order,Integer userId,String OrderSn);

    OrderDetailList orderDetail(Integer id);

    void orderRefund(Integer orderId, Integer refundMoney);

    void updateOrderShipAndStatus(HashMap<String, Object> map);

    void updateCommentReply(Map<String, Object> map);
}
